home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9846 < prev    next >
Encoding:
Text File  |  1996-08-05  |  994 b   |  26 lines

  1. Path: kari.fm.unit.no!rustad
  2. From: rustad@fm.unit.no (Rolf Rustad)
  3. Newsgroups: comp.lang.c++
  4. Subject: HELP!! Desperately needed. Deviceces and OWL
  5. Date: 4 Mar 1996 19:43:07 GMT
  6. Organization: The Norwegian University of Science and Technology
  7. Message-ID: <4hfh4b$d41@due.unit.no>
  8. NNTP-Posting-Host: kari.fm.unit.no
  9. X-Newsreader: TIN [version 1.1 PL6]
  10.  
  11. I need help.
  12. I have a C++ program that runs under DOS. It uses some functions which are
  13. found in an .obj file and which uses a device driver loaded in config.sys.
  14. The functions are declared for example like this:
  15. extern "C" FunctionName(char*);
  16. This works fine.
  17. However, when I include the same declaration, and the same code using the
  18. function in an OWL program (compiled with BC++ 4.0 16 bit), the program
  19. compiles, links and runs, but has no effect. Apparently the function calls
  20. never reach the device driver. Can anyone point me in the right direction as to
  21. where the problem might be here??
  22. Help would be much appreciated.
  23.  
  24. Rolf Rustad
  25.  
  26.